import getlink from "@/api/getapi.js"
let ke = {
    state: {
        arr: []
    },
    mutations: {
        newdat(state, payload) {
            state.arr = payload.arrdata
        }
    },
    actions: {
        getaxios(context, payload) {
            getlink(payload.url).then((ok) => {
                context.commit("newdat", { arrdata: ok.data.data })
                console.log(ok);
            })
        }
    },

    getters: {

    },
}
export default ke

